package com.frinder.wx.base.conf;

import org.springframework.stereotype.Component;
import org.weixin4j.loader.DefaultTokenLoader;
import org.weixin4j.model.base.Token;

/**
 * @ClassName MyTokenLoader
 * @Description //TODO
 * @Author frinder
 * @Date 2018/12/5 17:55
 * @Version 1.0
 */
@Component
public class MyTokenLoader extends DefaultTokenLoader {

    private final Token token = new Token("frinder6", 7200);

    @Override
    public Token get() {
        return token;
    }
}
